package com.lhy.gulimall.product.feign;

import com.lhy.common.to.es.SkuEsModel;
import com.lhy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

//@FeignClient(value = "gulimall-gateway",contextId = "product")
@FeignClient(value = "gulimall-search")
public interface SearchFeignService {
    
    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
